/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.xd.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 *
 *
 * @author zgy
 * @date 2022-1-11
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListTechniqueRequest {

	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	/**
	 * 状态：0-存盘，1-启用，2-停用
	 */
	private Integer status;
	/**
	 * 审核状态：0-待审核，1-审核通过，2-审核不通过
	 */
	private Integer auditStatus;
	/**
	 * 生产货品Id
	 */
	private Long productionGoodsId;
	/**
	 * 生产货品简称
	 */
	private String productionGoodsAbbr;

	private Boolean withDocument;
}
